﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity;

namespace Guline.HosterModels.Context
{
    public class DataContext:DbContext
    {
        public DataContext()
            : base("DefaultConnection")
        {

        }

        public DbSet<Object.Account> Accounts { get; set; }
        public DbSet<Object.Group> Groups { get; set; }
        public DbSet<Object.HostPackage> HostPackages { get; set; }
        public DbSet<Object.Organize> Organizes { get; set; }
        public DbSet<Object.Website> Websites { get; set; }
        public DbSet<Object.MailAccount> MailAccounts { get; set; }
        public DbSet<Object.FTPAccount> FTPAccounts { get; set; }
    }
}
